package com.adinnet.admin.system.model;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 权限表
 * </p>
 *
 * @author zhangh
 * @since 2019-11-05
 */
@Data
@TableName("t_sys_menu")
public class SysMenu implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 权限id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 权限名称
     */
    private String menuName;

    /**
     * 授权标识
     */
    private String permission;

    /**
     * 菜单url
     */
    private String menuUrl;

    /**
     * 父id,-1表示无父级
     */
    private Integer parentId;

    /**
     * 权限类型,0菜单,1按钮
     */
    private Integer isMenu;

    /**
     * 排序号
     */
    private Integer orderNumber;

    /**
     * 菜单图标
     */
    private String menuIcon;

    /**
     * 创建时间
     */
    private Date createdDate;

    /**
     * 修改时间
     */
    private Date updatedDate;

    private Boolean deleted;

}
